home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Programmer's Toolkit
/
Java Programmer's Toolkit.iso
/
gs3.53
/
gs_type0.ps
< prev
next >
Wrap
Text File
|
1996-01-10
|
2KB
|
50 lines
% Copyright (C) 1992, 1995 Aladdin Enterprises. All rights reserved.
%
% This file is part of Aladdin Ghostscript.
%
% Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author
% or distributor accepts any responsibility for the consequences of using it,
% or for whether it serves any particular purpose or works at all, unless he
% or she says so in writing. Refer to the Aladdin Ghostscript Free Public
% License (the "License") for full details.
%
% Every copy of Aladdin Ghostscript must include a copy of the License,
% normally in a plain ASCII text file named PUBLIC. The License grants you
% the right to copy, modify and redistribute Aladdin Ghostscript, but only
% under certain conditions described in the License. Among other things, the
% License requires that the copyright notice and this notice be preserved on
% all copies.
% Initialization file for composite font facilities.
% When this is run, systemdict is still writable.
% Define findencoding.
% (cshow, rootfont, and setcachedevice2 are real operators.)
% .findencoding is defined in gs_init.ps.
/findencoding { .findencoding } odef
% Redefine the setcachedevice step of Type1BuildChar
% so that it takes Metrics2 and CDevProc into account.
/setcache_C % <charname> ? ? ? <wx> <wy> <llx> <lly> <urx> <ury>
% setcache_C <charname> ? ? ?
{ currentdict /Metrics2 .knownget
{ 10 index .knownget
{ aload pop
currentdict /CDevProc .knownget { 14 index exch exec } if
setcachedevice2
}
{ setcache_C1
}
ifelse
}
{ setcache_C1
}
ifelse
} bind def
/setcache_C1 % (same as setcache_C)
{ currentdict /CDevProc .knownget
{ 6 index 6 index 0 0 14 index 6 -1 roll exec setcachedevice2 }
{ setcachedevice }
ifelse
} bind def